package restful.struts2;

import restful.*;

import com.opensymphony.xwork2.*;
import com.opensymphony.xwork2.inject.*;

public class RestfulProtocolAction extends ActionSupport implements ModelDriven<RestfulProtocol> {

	private transient RestfulProtocol restfulProtocol;

	@Override
	public String execute() throws Exception {
		return SUCCESS;
	}

	public RestfulProtocol getModel() {
		return restfulProtocol;
	}

	@Inject("restfulProtocol")
	public void setRestfulProtocol(RestfulProtocol restfulProtocol) {
		this.restfulProtocol = restfulProtocol;
	}

}
